package org.example.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 *   用户登录请求DTO
 * </p>
 * @author jinshihui
 */
@Data
public class UserLoginRequest {
    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "IP地址不能为空")
    private String ipAddress;

    @NotBlank(message = "用户代理信息不能为空")
    private String userAgent;
}